Configure Inter-VRF IPv6 Accept Policies on VRFs
Before you begin
-
Enable IS-IS globally.
-
Configure IPv6 Shortcuts. For more information, see Configure SPBM IPv6 Shortcuts.
-
Configure IPv6 IPVPN.
-
Ensure that a route policy exists.
-
Ensure that the VRFs exist.
-
Configure a route-map.
About this task
Configure IPv6 IS-IS accept policies on a VRF to use inter-VRF accept policies in the SPB cloud. You can use IPv6 IS-IS accept policies to redistribute routes between different VRFs, including the global routing table (GRT). First you apply the filter, and then you match the filter based on the I-SID, which represents the Layer 3 VSN context.
Note
-
The ipv6 isis apply accept [vrf WORD<1-16>] command can disrupt traffic and cause temporary traffic loss. After you apply ipv6 isis apply accept [vrf<1-16>], the command reapplies the accept policies, which deletes all of the IS-IS routes, and adds the IS-IS routes again. You should make all the relevant accept policy changes, and then apply ipv6 isis apply accept [vrf WORD<1-16>] at the end.
-
If you use the ipv6 accept command for inter-VRF routes based on the remote I-SID, the device accepts routes form other local VRFs to the current VRF, therefore if the accepted I-SID is configured on the local BEB, the device accepts its own IPv6 routes advertised under the accepted I-SID.
-
If the route policy changes, you must reapply the IPv6 IS-IS accept policy, unless it was the last sequence in the configuration.
Procedure
Example
Configure Inter-VRF accept policies on a VRF:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#router vrf red Switch:1(router-vrf)#ipv6 isis accept i-sid 100 enable Switch:1(router-vrf)#exit Switch:1(config)#ipv6 isis apply accept vrf red
Variable Definitions
The following table defines parameters for the ip isid-list command.
Note
The I-SID lists created can be associated with both IPv4 or IPv6 routes.
Variable |
Value |
---|---|
WORD<1-32> |
Creates a name for your I-SID list. |
<0-16777215> |
Specifies an I-SID value. |
list WORD<1-1024> |
Specifies a list of I-SID values. For example, in the format 1,3,5,8-10. |
The following table defines parameters for the ipv6 isis accept command.
Variable |
Value |
---|---|
adv-rtr <x.xx.xx> |
Specifies the SPBM nickname for each advertising BEB to allow you to apply the IPv6 IS-IS accept policy to routes for a specific advertising BEB. The system first uses the default filter, but if a more specific filter for a specific advertising BEB is present the device applies the specific filter. Note:
An IPv6 IS-IS accept policy that specifies the adv-rtr without an I-SID or I-SID list will filter routes coming from the I-SID on which the policy is configured and from the specified BEB. |
enable |
Enables an IPv6 IS-IS accept policy. |
i-sid <0-16777215> |
Specifies an I-SID number to represent a local or remote Layer 3 VSN to which the IPv6 IS-IS accept policy applies. Use the parameter to apply a filter for routes from specific I-SIDs that represent the remote VSN. Based on the routing policy the system applies, the system can redistribute the remote VSN to the VSN where you applied the filter. An I-SID value of 0 represents the global routing table (GRT). |
isid-list WORD<1-32> |
Specifies the I-SID list name that represents the local or remote Layer 3 VSNs to which the IPv6 IS-IS accept policy applies. Use the parameter to apply a default filter for all routes from specific I-SIDs, that represent the remote VSN. Based on the routing policy the system applies, the system redistributes the remote VSN to the VSN where you applied the filter. An I-SID value of 0 represents the global routing table (GRT). |
route-map WORD <1-64> |
Specifies a route policy. You must configure a route policy earlier in a separate procedure. |
The following table defines parameters for the ipv6 isis apply accept command.
Variable |
Value |
---|---|
vrf WORD<1-16> |
Specifies a specific VRF instance. |